package xyz.ljcc.ccmt.service.impl.admin;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import xyz.ljcc.ccmt.model.vo.PatientMasterInfoVo;
import xyz.ljcc.ccmt.repository.admin.PatMasterInforRepository;
import xyz.ljcc.ccmt.service.api.admin.PatMasterInforService;

@Service
public class PatMasterInforServiceImpl implements PatMasterInforService {

	@Autowired
	PatMasterInforRepository patMasterInforRepository;
	
	@Override
	public List<PatientMasterInfoVo> getPatientList(String deptCode) {
		return patMasterInforRepository.loadPatientList(deptCode);
	}

}
